//
//  Complaints_Goods_TableViewCell.swift
//  Pods
//
//  Created by eme on 2017/4/11.
//
//

import UIKit

class Complaints_Goods_TableViewCell: UITableViewCell {
    
    @IBOutlet weak var orderID_Label: UILabel!          //订单编号
    
    @IBOutlet weak var enterprise_name: UILabel!        //企业名称
    
    @IBOutlet weak var pdName_Label: UILabel!           //商品名称
    
    @IBOutlet weak var pdStatus: UILabel!               //商品规格
    
    @IBOutlet weak var good_Image: UIImageView!         //商品图片
    
    var item:DetailModel?{
        didSet{
            if let model = item{
                self.orderID_Label.text = model.orderid
                self.enterprise_name.text = model.bdname
                self.pdName_Label.text = model.pdname
                self.pdStatus.text = model.standard
                self.good_Image.setUrlImage(model.img1)
            }
        }
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
